getPortnumValue

open fun getPortnumValue(): Int

PortNum to determine the how to handle the compressed payload.
.meshtastic.PortNum portnum = 1;

Return

The enum numeric value on the wire for portnum.